package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仓库对象 king_bd_cang
 * 
 * @author ruoyi
 * @date 2021-04-26
 */
public class KingBdCang extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 仓库内码 */
    @Excel(name = "仓库内码")
    private String fId;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String name;

    /** 仓库编码 */
    @Excel(name = "仓库编码")
    private String fCode;

    /** $column.columnComment */
    @Excel(name = "仓库编码")
    private String userName;

    /** $column.columnComment */
    @Excel(name = "仓库编码")
    private String userCode;

    /** $column.columnComment */
    @Excel(name = "仓库编码")
    private String createUser;

    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "仓库编码", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** $column.columnComment */
    private String delFlag;

    /** $column.columnComment */
    @Excel(name = "仓库编码")
    private String remarks;

    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "仓库编码", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateUser;

    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "仓库编码", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setfId(String fId) 
    {
        this.fId = fId;
    }

    public String getfId() 
    {
        return fId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setfCode(String fCode) 
    {
        this.fCode = fCode;
    }

    public String getfCode() 
    {
        return fCode;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserCode(String userCode) 
    {
        this.userCode = userCode;
    }

    public String getUserCode() 
    {
        return userCode;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setUpdateUser(Date updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Date getUpdateUser() 
    {
        return updateUser;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fId", getfId())
            .append("name", getName())
            .append("fCode", getfCode())
            .append("userName", getUserName())
            .append("userCode", getUserCode())
            .append("createUser", getCreateUser())
            .append("createDate", getCreateDate())
            .append("delFlag", getDelFlag())
            .append("remarks", getRemarks())
            .append("updateUser", getUpdateUser())
            .append("updateDate", getUpdateDate())
            .toString();
    }
}
